package com.tj.bo.trade.client.response;

import java.io.Serializable;

/**
 * @program: binary-option
 * @description
 * @author: binary
 * @create: 2020-06-05 14:42
 **/
public class CreateTradeResponseRO implements Serializable {
    private static final long serialVersionUID = 2223010534705657394L;

    private String tradeNo;
    private String amount;
    private Integer trendType;
    private Long marketTimestamp;//时间戳
    private String marketPrice;
    private Integer orderNumbers;

    public CreateTradeResponseRO(String tradeNo, String amount, Integer trendType, Long marketTimestamp, String marketPrice, Integer orderNumbers) {
        this.tradeNo = tradeNo;
        this.amount = amount;
        this.trendType = trendType;
        this.marketTimestamp = marketTimestamp;
        this.marketPrice = marketPrice;
        this.orderNumbers = orderNumbers;
    }

    public Integer getOrderNumbers() {
        return orderNumbers;
    }

    public CreateTradeResponseRO setOrderNumbers(Integer orderNumbers) {
        this.orderNumbers = orderNumbers;
        return this;
    }

    public String getAmount() {
        return amount;
    }

    public CreateTradeResponseRO setAmount(String amount) {
        this.amount = amount;
        return this;
    }

    public Integer getTrendType() {
        return trendType;
    }

    public CreateTradeResponseRO setTrendType(Integer trendType) {
        this.trendType = trendType;
        return this;
    }

    public Long getMarketTimestamp() {
        return marketTimestamp;
    }

    public CreateTradeResponseRO setMarketTimestamp(Long marketTimestamp) {
        this.marketTimestamp = marketTimestamp;
        return this;
    }

    public String getMarketPrice() {
        return marketPrice;
    }

    public CreateTradeResponseRO setMarketPrice(String marketPrice) {
        this.marketPrice = marketPrice;
        return this;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public CreateTradeResponseRO setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }
}
